FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\U2F S

Total Complexity 40
Dependencies 7
Dependents 3
Total lines 311
Lines of code 231
Logical lines of code 98
Comment lines 42
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
addNewRegistration()
A
44 7 45
addRegistration()
S
52 7 25
getFormField()
S
51 3 27
getProviderSpecificRenderData()
S
51 2 29
validateU2F()
S
57 2 17
createNewU2fRegistrationRequest()
S
58 2 15
getU2fAppID()
S
70 3 5
handleUserProfileSubmit()
S
65 3 8
getJavascriptVars()
S
52 1 26
isProfileActive()
S
78 2 3
getRegistrations()
S
65 2 9
removeRegisteredU2fId()
S
67 2 8
processOtp()
S
79 1 3
storeRegistrations()
S
75 1 4
isProviderEnabled()
S
76 1 4
getProviderName()
S
82 1 3